export default {
    namespaced: true,
    state: {
        form: {
            name: "",
        },
        editform: {
            name: "",
        },
    },
    mutations: {
        //清除数据
        clearForm(state) {
            state.form = {
                name: "",
            }
        },
        udpateForm(state, data) {
            state.editform = {
                name: data.cdc_name,
            }
        },
    }
}